Package com.cisco.pt.ipc.sim.impl
Class ClassMapManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ClassMapManagerImpl
- All Implemented Interfaces:
IPCObject,ClassMapManager
Information provided by the PKI file:
\class ClassMapManager
\brief ClassMapManager is the manager for QoS class maps.
\example network().getDevice("Router0").getClassMapManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionClassMapManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanclassMapExist(String name) Information provided by the PKI file:voiddeleteClassMap(String name) Information provided by the PKI file:getClassMap(String mapname) Information provided by the PKI file:getClassMapAt(int index) Information provided by the PKI file:Information provided by the PKI file:booleanhasCircularReference(String map1, String map2) Information provided by the PKI file:voidrearrangeMaps(String map1, String map2) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
ClassMapManagerImpl
public ClassMapManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
deleteClassMap
Information provided by the PKI file:
\brief Removes the specified class map. \param name, the name of the class map of interest. \param string, the class map name.- Specified by:
deleteClassMapin interfaceClassMapManager- Parameters:
name- Takes in a parameter of name
-
classMapExist
Information provided by the PKI file:
\brief Returns true if the specified class map exists, otherwise false. \param name, the name of the class map of interest. \return bool, true if the specified class map exists, otherwise false.- Specified by:
classMapExistin interfaceClassMapManager- Parameters:
name- Takes in a parameter of name- Returns:
- boolean Returns a boolean
-
getClassMapCount
Information provided by the PKI file:
\brief Returns the number of class maps. \return short, the number of class maps.- Specified by:
getClassMapCountin interfaceClassMapManager- Returns:
- Short Returns a Short
-
getClassMapAt
Information provided by the PKI file:
\brief Returns the ClassMap object at the specified index. \param mapname, the index of the class map of interest. \return ClassMap, the ClassMap object at the specified index.- Specified by:
getClassMapAtin interfaceClassMapManager- Parameters:
index- Takes in a parameter of index- Returns:
- ClassMap Returns a ClassMap
-
getClassMap
Information provided by the PKI file:
\brief Returns the ClassMap object with the specified class map name. \param mapname, the name of the class map of interest. \return ClassMap, the ClassMap object with the associated class map name.- Specified by:
getClassMapin interfaceClassMapManager- Parameters:
mapname- Takes in a parameter of mapname- Returns:
- ClassMap Returns a ClassMap
-
hasCircularReference
Information provided by the PKI file:
\brief Returns true if the two specified class maps are the same, otherwise false. \param map1, the name of the first class map. \param map2, the name of the second class map. \return bool, true if the two specified class maps are the same, otherwise false.- Specified by:
hasCircularReferencein interfaceClassMapManager- Parameters:
map1- Takes in a parameter of map1map2- Takes in a parameter of map2- Returns:
- boolean Returns a boolean
-
rearrangeMaps
Information provided by the PKI file:
\brief Rearranges the specified class maps such that map1 precedes map2. \param map1, the name of the first class map. \param map2, the name of the second class map.- Specified by:
rearrangeMapsin interfaceClassMapManager- Parameters:
map1- Takes in a parameter of map1map2- Takes in a parameter of map2
-